package com.teradyne.merlin2.ui.client.activities;

import com.google.gwt.activity.shared.AbstractActivity;
import com.google.gwt.event.shared.EventBus;
import com.google.gwt.place.shared.PlaceController;
import com.google.gwt.user.client.ui.AcceptsOneWidget;
import com.teradyne.merlin2.ui.client.views.OrderMenuView;

public class OrderMenuActivity extends AbstractActivity implements
		OrderMenuView.Presenter {

	private final OrderMenuView view;
	private final PlaceController placeController;

	public OrderMenuActivity(OrderMenuView view, PlaceController placeController) {
		this.view = view;
		this.placeController = placeController;
	}

	@Override
	public void start(AcceptsOneWidget container, EventBus eventBus) {
		container.setWidget(view.asWidget());
		view.setPresenter(this);
	}

}